package org.jeecg.modules.waybill.entity;

import java.io.Serializable;
import java.io.UnsupportedEncodingException;
import java.util.Date;
import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableLogic;
import lombok.Data;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.jeecg.common.aspect.annotation.Dict;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * @Description: 草稿箱
 * @Author: jeecg-boot
 * @Date:   2024-04-13
 * @Version: V1.0
 */
@Data
@TableName("wlhy_waybill_draft")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="wlhy_waybill_draft对象", description="草稿箱")
public class WlhyWaybillDraft implements Serializable {
    private static final long serialVersionUID = 1L;

	/**id*/
	@TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "id")
    private java.lang.String id;
	/**创建人*/
    @ApiModelProperty(value = "创建人")
    private java.lang.String createBy;
	/**创建日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "创建日期")
    private java.util.Date createTime;
	/**更新人*/
    @ApiModelProperty(value = "更新人")
    private java.lang.String updateBy;
	/**更新日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "更新日期")
    private java.util.Date updateTime;
	/**所属部门*/
    @ApiModelProperty(value = "所属部门")
    private java.lang.String sysOrgCode;
	/**创建人*/
	@Excel(name = "创建人", width = 15)
    @ApiModelProperty(value = "创建人")
    private java.lang.String userId;
	/**提货时间*/
	@Excel(name = "提货时间", width = 20, format = "yyyy-MM-dd HH:mm:ss")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "提货时间")
    private java.util.Date deliveryTime;
	/**预计送达时间*/
	@Excel(name = "预计送达时间", width = 20, format = "yyyy-MM-dd HH:mm:ss")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "预计送达时间")
    private java.util.Date estArrivalTime;
	/**发货人姓名*/
	@Excel(name = "发货人姓名", width = 15)
    @ApiModelProperty(value = "发货人姓名")
    private java.lang.String shipperName;
	/**发货人电话*/
	@Excel(name = "发货人电话", width = 15)
    @ApiModelProperty(value = "发货人电话")
    private java.lang.String shipperPhone;
	/**发货人证件号*/
	@Excel(name = "发货人证件号", width = 15)
    @ApiModelProperty(value = "发货人证件号")
    private java.lang.String shipperIdNum;
	/**发货人地区编码*/
	@Excel(name = "发货人地区编码", width = 15)
    @ApiModelProperty(value = "发货人地区编码")
    private java.lang.String shipperAreaCode;
	/**发货人地区名称*/
	@Excel(name = "发货人地区名称", width = 15)
    @ApiModelProperty(value = "发货人地区名称")
    private java.lang.String shipperAreaName;
	/**发货人详细地址*/
	@Excel(name = "发货人详细地址", width = 15)
    @ApiModelProperty(value = "发货人详细地址")
    private java.lang.String shipperDetailAddr;
	/**发货方经纬度*/
	@Excel(name = "发货方经纬度", width = 15)
    @ApiModelProperty(value = "发货方经纬度")
    private java.lang.String shipperLnglat;
	/**收货方姓名*/
	@Excel(name = "收货方姓名", width = 15)
    @ApiModelProperty(value = "收货方姓名")
    private java.lang.String consignerName;
	/**收货方电话*/
	@Excel(name = "收货方电话", width = 15)
    @ApiModelProperty(value = "收货方电话")
    private java.lang.String consignerPhone;
	/**收件方证件号*/
	@Excel(name = "收件方证件号", width = 15)
    @ApiModelProperty(value = "收件方证件号")
    private java.lang.String consignerIdNum;
	/**收货方地区编码*/
	@Excel(name = "收货方地区编码", width = 15)
    @ApiModelProperty(value = "收货方地区编码")
    private java.lang.String consignerAreaCode;
	/**收货方地区名称*/
	@Excel(name = "收货方地区名称", width = 15)
    @ApiModelProperty(value = "收货方地区名称")
    private java.lang.String consignerAreaName;
	/**收货方详细地址*/
	@Excel(name = "收货方详细地址", width = 15)
    @ApiModelProperty(value = "收货方详细地址")
    private java.lang.String consignerDetailAddr;
	/**收货方经纬度*/
	@Excel(name = "收货方经纬度", width = 15)
    @ApiModelProperty(value = "收货方经纬度")
    private java.lang.String consignerLnglat;
	/**货物名称*/
	@Excel(name = "货物名称", width = 15)
    @ApiModelProperty(value = "货物名称")
    private java.lang.String cargoName;
	/**货物件数*/
	@Excel(name = "货物件数", width = 15)
    @ApiModelProperty(value = "货物件数")
    private java.lang.Integer cargoPieces;
	/**货物重量*/
	@Excel(name = "货物重量", width = 15)
    @ApiModelProperty(value = "货物重量")
    private java.math.BigDecimal cargoWeight;
	/**货物体积*/
	@Excel(name = "货物体积", width = 15)
    @ApiModelProperty(value = "货物体积")
    private java.math.BigDecimal cargoVolume;
	/**货物价值*/
	@Excel(name = "货物价值", width = 15)
    @ApiModelProperty(value = "货物价值")
    private java.math.BigDecimal cargoPrice;
	/**货物备注*/
	@Excel(name = "货物备注", width = 15)
    @ApiModelProperty(value = "货物备注")
    private java.lang.String cargoRemark;
	/**代收款*/
	@Excel(name = "代收款", width = 15)
    @ApiModelProperty(value = "代收款")
    private java.math.BigDecimal invoicingFee;
	/**代收款支付方式*/
	@Excel(name = "代收款支付方式", width = 15, dicCode = "pay_mode")
	@Dict(dicCode = "pay_mode")
    @ApiModelProperty(value = "代收款支付方式")
    private java.lang.String invoicingPayMode;
	/**是否收取代收款*/
	@Excel(name = "是否收取代收款", width = 15)
    @ApiModelProperty(value = "是否收取代收款")
    private java.lang.Integer izInvoicingFee;
	/**代收款订单号*/
	@Excel(name = "代收款订单号", width = 15)
    @ApiModelProperty(value = "代收款订单号")
    private java.lang.String invoicingOrderNum;
	/**实际代收款支付方式*/
	@Excel(name = "实际代收款支付方式", width = 15)
    @ApiModelProperty(value = "实际代收款支付方式")
    private java.lang.String invoicingRealPayMode;
	/**司机运费*/
	@Excel(name = "司机运费", width = 15)
    @ApiModelProperty(value = "司机运费")
    private java.math.BigDecimal driverFreightFee;
	/**结算运费状态*/
	@Excel(name = "结算运费状态", width = 15)
    @ApiModelProperty(value = "结算运费状态")
    private java.lang.Integer settleFreightStatus;
	/**运费结算时间*/
	@Excel(name = "运费结算时间", width = 20, format = "yyyy-MM-dd HH:mm:ss")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "运费结算时间")
    private java.util.Date settleFreightTime;
	/**运费结算方式*/
	@Excel(name = "运费结算方式", width = 15)
    @ApiModelProperty(value = "运费结算方式")
    private java.lang.String settleFreightMode;
	/**是否指派司机*/
	@Excel(name = "是否指派司机", width = 15)
    @ApiModelProperty(value = "是否指派司机")
    private java.lang.Integer izAssignDriver;
	/**接单时间*/
	@Excel(name = "接单时间", width = 20, format = "yyyy-MM-dd HH:mm:ss")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "接单时间")
    private java.util.Date orderTime;
	/**接单用户*/
	@Excel(name = "接单用户", width = 15)
    @ApiModelProperty(value = "接单用户")
    private java.lang.String driverUserId;
	/**司机车牌号*/
	@Excel(name = "司机车牌号", width = 15)
    @ApiModelProperty(value = "司机车牌号")
    private java.lang.String driverVehicleNo;
	/**司机电话*/
	@Excel(name = "司机电话", width = 15)
    @ApiModelProperty(value = "司机电话")
    private java.lang.String driverPhone;
	/**司机姓名*/
	@Excel(name = "司机姓名", width = 15)
    @ApiModelProperty(value = "司机姓名")
    private java.lang.String driverName;
	/**司机银行卡*/
	@Excel(name = "司机银行卡", width = 15)
    @ApiModelProperty(value = "司机银行卡")
    private java.lang.String driverBankId;
	/**司机银行开户名*/
	@Excel(name = "司机银行开户名", width = 15)
    @ApiModelProperty(value = "司机银行开户名")
    private java.lang.String driverBankHolder;
	/**司机银行卡号*/
	@Excel(name = "司机银行卡号", width = 15)
    @ApiModelProperty(value = "司机银行卡号")
    private java.lang.String driverBankCardNo;
	/**司机开户银行*/
	@Excel(name = "司机开户银行", width = 15)
    @ApiModelProperty(value = "司机开户银行")
    private java.lang.String driverBankName;
	/**浏览量*/
	@Excel(name = "浏览量", width = 15)
    @ApiModelProperty(value = "浏览量")
    private java.lang.Integer scanNum;
	/**评论量*/
	@Excel(name = "评论量", width = 15)
    @ApiModelProperty(value = "评论量")
    private java.lang.Integer commentNum;
	/**订单状态*/
	@Excel(name = "订单状态", width = 15, dicCode = "waybill_status")
	@Dict(dicCode = "waybill_status")
    @ApiModelProperty(value = "订单状态")
    private java.lang.String waybillStatus;
	/**状态*/
	@Excel(name = "状态", width = 15, dicCode = "row_status")
	@Dict(dicCode = "row_status")
    @ApiModelProperty(value = "状态")
    private java.lang.String status;
}
